Populates and returns the destination mutable map with key-value pairs, where key is provided by the keySelector function applied to each element of the given collection and value is the element itself.
Populates and returns the destination mutable map with key-value pairs, where key is provided by the keySelector function and and value is provided by the valueTransform function applied to elements of the given collection.
Populates and returns the destination mutable map with key-value pairs for each element of the given collection, where key is the element itself and value is provided by the valueSelector function applied to that key.
Returns the first non-null value produced by transform function being applied to elements of this collection in iteration order, or throws NoSuchElementException if no non-null value was produced.
Returns the first non-null value produced by transform function being applied to elements of this collection in iteration order, or null if no non-null value was produced.
Returns a single list of all elements yielded from results of transform function being invoked on each element and its index in the original collection.
Appends all elements yielded from results of transform function being invoked on each element and its index in the original collection, to the given destination.
Accumulates value starting with initial value and applying operation from left to right to current accumulator value and each element with its index in the original collection.
Groups elements of the original collection by the key returned by the given keySelector function applied to each element and returns a map where each group key is associated with a list of corresponding elements.
Groups values returned by the valueTransform function applied to each element of the original collection by the key returned by the given keySelector function applied to the element and returns a map where each group key is associated with a list of corresponding values.
Groups elements of the original collection by the key returned by the given keySelector function applied to each element and puts to the destination map each group key associated with a list of corresponding elements.
Groups values returned by the valueTransform function applied to each element of the original collection by the key returned by the given keySelector function applied to the element and puts to the destination map each group key associated with a list of corresponding values.
Creates a Grouping source from a collection to be used later with one of group-and-fold operations using the specified keySelector function to extract a key from each element.
Applies the given transform function to each element and its index in the original collection and appends only the non-null results to the given destination.
Returns the largest value according to the provided comparator among all values produced by selector function applied to each element in the collection.
Returns the largest value according to the provided comparator among all values produced by selector function applied to each element in the collection or null if there are no elements.
Returns the smallest value according to the provided comparator among all values produced by selector function applied to each element in the collection.
Returns the smallest value according to the provided comparator among all values produced by selector function applied to each element in the collection or null if there are no elements.
Splits the original collection into pair of lists, where first list contains elements for which predicate yielded true, while second list contains elements for which predicate yielded false.
Accumulates value starting with the first element and applying operation from left to right to current accumulator value and each element with its index in the original collection.
Accumulates value starting with the first element and applying operation from left to right to current accumulator value and each element with its index in the original collection.
Returns a list containing successive accumulation values generated by applying operation from left to right to each element and current accumulator value that starts with initial value.
Returns a list containing successive accumulation values generated by applying operation from left to right to each element, its index in the original collection and current accumulator value that starts with initial value.
Returns a list containing successive accumulation values generated by applying operation from left to right to each element and current accumulator value that starts with the first element of this collection.
Returns a list containing successive accumulation values generated by applying operation from left to right to each element, its index in the original collection and current accumulator value that starts with the first element of this collection.
Returns a list containing successive accumulation values generated by applying operation from left to right to each element and current accumulator value that starts with initial value.
Returns a list containing successive accumulation values generated by applying operation from left to right to each element, its index in the original collection and current accumulator value that starts with initial value.
Returns a pair of lists, where first list is built from the first values of each pair from this collection, second list is built from the second values of each pair from this collection.
Returns a list of results of applying the given transform function to an each list representing a view over the window of the given size sliding along this collection with the given step.
Returns a lazy Iterable that wraps each element of the original collection into an IndexedValue containing the index of that element and the element itself.
Returns a list of pairs built from the elements of this collection and the other array with the same index. The returned list has length of the shortest collection.
Returns a list of values built from the elements of this collection and the other array with the same index using the provided transform function applied to each pair of elements. The returned list has length of the shortest collection.
Returns a list of pairs built from the elements of this collection and other collection with the same index. The returned list has length of the shortest collection.
Returns a list of values built from the elements of this collection and the other collection with the same index using the provided transform function applied to each pair of elements. The returned list has length of the shortest collection.